Conversation
* fix gridstack#2074 * we now use immediate parent and not just page for scrolling. * updated two.html to showcase both scroll options
* more fixed for gridstack#3252 gridstack#3251 * moved code to dd-draggable, simplifying AI code and making sure mouse up stops animation (release outside of grid) * fixed Utils.getScrollElement() to look for overflowY auto | scroll (was bogus before)
* more fixed for gridstack#3252 gridstack#3251 * getScrollElement() now makes sure there is a visiable active scollbar * when entiring another grid, make sure to stop prev grid, leaving entire shape out
|
It would be great if we can configure the scrolling behavior - like max speed, or even a delay between dragging the widget to the edge and when the parent scrolling starts. |
|
@danielgindi let me know if the current behavior (which I can continue tweaking) doesn't work - speed wise. I tend to think adding many options means we didn't get the behavior right and complicates things and having to support it so not wanting to do so. Speed could possibly be tied to mouse scrollwheel speed so they feel similar... |
Nope, for me it still scrolls too fast - and I'm a technical person. Users who would want to drag and will have to scroll while dragging - will find it almost impossible to control. I am currently playing with this as a replacement for a dashboard widget grid (hence the work I've done on RTL), but the scrolling speed makes it unusable for us. |
|
@danielgindi do you have a video you can post ? is it the widget beign dragged being 30-50% (not others I assume). it suppose to max out and jsut jsut rely on how many px off screen you drag (for that reason) but may have to tweak it more (and maybe even log() it or something instead of linear). not seeing the issue with 50% large items (we hit the max pretty quickly) Screen.Recording.2026-04-05.at.7.56.02.AM.mov |
|
Are the demos published with 12.5.0 now? |
Description
Checklist
yarn test)